import axios from 'axios';

/**
 *To search customer list data
 */
export function customerListSearch(data) {
  return axios({
    url: 'customer/search',
    method: 'get',
    params:data
  });
}

export function getCustomerInfo(user_id) {
  return axios({
    url: 'customer/info/' +user_id,
    method: 'get'
  });
}


export function getCustomerInfoTemplate() {
  return axios({
    url: 'customer/info_template',
    method: 'get'
  });
}
